home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / June 96 / Re Save Command.1 < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  891 b   |  [TEXT/ttxt]

  1. Subject:     Re: Save Command
  2. Sent:        6/25/96 9:53 AM
  3. Received:    6/25/96 10:12 AM
  4. From:        Dave Wilson, dwilson@best.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. >I have a palette icon button that is used to save the current document (a
  9. >customer request).  When this button is pressed, I need to tell OpenDoc
  10. >to save the document with the default name (same as cmd-S) in my frame's
  11. >HandleNotification method.  What is the preferred method to perform this
  12. >task, given the customer requirements?
  13.  
  14. Can you simply call the target's DoMenu() function, passing kODSave or
  15. whatever the correct command number is. Sometimes pretending the user chose
  16. the menu works well.
  17.  
  18. -Dave
  19.  
  20. Dave Wilson
  21. Personal Concepts
  22. 635 Wellsbury Way
  23. Palo Alto, CA 94306
  24. voice: 415-494-6763
  25. email: dwilson@best.com
  26.  
  27.